<div class="body">
	<div class="userPic">
	<!--<div style="display:block;width:100px;height:100px;">-->
		  <%= avatar(current_user) %>
	</div>

	<div class="userPanel">
		 <ul>
		 	<li><%= link_to "ЛЕНТА", events_path %></li>
		 	<li><%= link_to "ЖУРНАЛ", user_posts_path(current_user)%></li>
		 	<li><%= link_to "ИНФО", user_path(:id=>current_user) %></li>
		 </ul>
		 <ul>
		 	<li><%= link_to "НАПИСАТЬ", new_user_post_path(:user_id=>current_user) %></li>
		 	<li><%= link_to "ПОМОЩЬ", page_path(Page.help) unless Page.help.nil?%></li>
		 	<li><%= link_to "НАСТРОЙКИ", options_user_path(:id=>current_user) %></li>
		 </ul>
	</div>
</div>
<div class="bottom">
	<%= link_to "выйти", logout_path, :class=>"userLink"%>
	<%= link_to "<strong>#{user_panel.login}</strong>", user_path(current_user), :class=>"userName" %>
</div>
